package com.marvels.approve.loan.dao;

import com.marvels.approve.loan.dto.McamAutoDecision;
import com.marvels.approve.loan.dto.McamAutoDecisionWithBLOBs;

public interface McamAutoDecisionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(McamAutoDecisionWithBLOBs record);

    int insertSelective(McamAutoDecisionWithBLOBs record);

    McamAutoDecisionWithBLOBs selectByPrimaryKey(Long id);
    
    McamAutoDecisionWithBLOBs selectByLoanId(String loanId);

    int updateByPrimaryKeySelective(McamAutoDecisionWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(McamAutoDecisionWithBLOBs record);

    int updateByPrimaryKey(McamAutoDecision record);
}